<!--{include biz_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="/biz/coupon.php">{$INI['system']['couponname']}列表</a></li>
	<li style="float:right;  ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8; font-size:22px;">
     <!--{if is_partner()}-->{$login_partner['title']}！<!--{/if}-->
	</a> </li>
    </ul>
</div>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
    <div id="content" class="coupons-box clear mainwide">
	
          
            <div class="box-content">
                <div class="head">
                <div class="formtitle" style="padding-left:6px;">
                        <span>{$INI['system']['couponname']}列表</span> 
                    </div>
                   
					<ul class="filter" style="height:30px;">
						<li style="color:#000; font-size:12px;"><form action="/biz/coupon.php" method="get">项目：(ID号或标题)<input type="text" class="h-input" name="title" value="${htmlspecialchars($title)}" >&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/>&nbsp;券编号：<input type="text" class="h-input" name="coupon" value="${htmlspecialchars($coupon)}" >&nbsp;<select name="state">${Utility::Option($option_state, $state, '--所有--')}</select><input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/><form>
                        </li>
                        <a id="verify-coupon-id" href="javascript:;" class="ajaxlink" style=" width:80px;padding: 4px 1em;border: 2px solid;background: #63C5C8;color: white;letter-spacing: .1em;cursor: pointer;_width: 0;border-image: initial;border-color: #82D0D4 #4D989B #54A3A7 #92D6D9; margin-top:0;">消费登记</a>
                       
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="1" class="coupons-table" bordercolor="#89B4D6">
						<tr><th width="100" nowrap>编号</th><th width="450">项目名称</th><th width="160">购买者</th><th width="60" nowrap>密码</th><th width="100" nowrap>有效日期</th><th width="160">状态</th></tr>
					<!--{loop $coupons $index $one}-->
						<tr ${$index%2?'':'class="alt"'}>
							<td>{$one['id']}</td>
							<td>{$one['team_id']}&nbsp;(<a class="deal-title" href="/team.php?id={$one['team_id']}" target="_blank">{$teams[$one['team_id']]['title']}</a>)</td>
							<td nowrap>{$users[$one['user_id']]['email']}<br/>{$users[$one['user_id']]['username']}</td>
							<td><!--{if abs(intval($INI['system']['partnerdown']))}-->{$one['secret']}<!--{else}-->******<!--{/if}--></td>
							<td nowrap>${date('Y-m-d', $one['expire_time'])}</td>
							<td nowrap><!--{if $one['consume']=='Y'}-->已消费<br/>${date('Y-m-d H:i', $one['consume_time'])}<!--{elseif $one['expire_time']<time()}-->已过期<!--{else}-->有效<!--{/if}--></td>
						</tr>	
					<!--{/loop}-->
						<tr><td colspan="6">{$pagestring}</td></tr>
                    </table>
				</div>
            </div>
         
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->


<!--{include biz_footer}-->

